package com.zl.autocode.common.constant;

import com.zl.common.constants.IConstant;

/**
 * 常量
 * @author zhouliang
 *
 */
public class AutocodeConfigC implements IConstant {
    
    /** 动态数据库key*/
    public final static String DDS_KEY = "dynamic-autocode-";
    /** 各个数据mapper命名后缀  比如 oracleGeneratorDao*/
    public final static String GENERATOR_DAO_KEY = "GeneratorAutocodeDao";
    /** 解析器命名后缀  比如 pdmReader*/
    public final static String GENERATOR_READER_KEY = "GeneratorAutocodeReader";
    
    /** 页面下拉框编码*/
    public final static String LABEL_VALUE = "labelCode";
    
    /** 定义一些分类目录*/
    public final static String PATH_CHILDREN_SQL = "sql";
    public final static String PATH_CHILDREN_PDM = "pdm";
    public final static String PATH_CHILDREN_DDL = "ddl";
    public final static String PATH_CHILDREN_PREVIEW = "preview";
    
    
    public final static String TEMPLATE_PATH="classpath:template/autocode";//模板主目录
    public final static String DEFAULT_TEMPLATE_DDL = "ddl_default.ftl";
    public final static String DEFAULT_TEMPLATE_PREVIEW = "preview_default.ftl";
    
    public final static String AUTOCODE_FACT_ROOT  ="mainRoot";
    public final static String AUTOCODE_FACT_MAJOR  ="majorPath";
    public final static String AUTOCODE_FACT_OTHER  ="otherPath";
    
    public final static String TEMPLATE_EXT_FTL  =".ftl";
    
    
    public final static String DICT_TYPE_COMPONENT_TYPE  ="component.componentType";
   
}
